import request from "@/utils/request";
import qs from "qs";

export function assetStatistics(data) {
  return request({
    url: "/apisecurity/assetDataStatistics/assetStatistics",
    method: "get",
    params: data,
  });
}

export function getSensitiveInterface(data) {
  return request({
    url: "/apisecurity/assetDataStatistics/getSensitiveInterface",
    method: "get",
    params: data,
  });
}

export function dataLevelStatistics(data) {
  return request({
    url: "/apisecurity/assetDataStatistics/dataLevelStatistics",
    method: "get",
    params: data,
  });
}

export function totalInterfaceDataLevel(data) {
  return request({
    url: "/apisecurity/assetDataStatistics/totalInterfaceDataLevel",
    method: "get",
    params: data,
  });
}

export function upDownflow(data) {
  return request({
    url: "/apisecurity/assetDataStatistics/upDownflow",
    method: "get",
    params: data,
  });
}

export function downUpflow(data) {
  return request({
    url: "/apisecurity/assetDataStatistics/downUpflow",
    method: "get",
    params: data,
  });
}

export function getErrorData(data) {
  return request({
    url: "/apisecurity/assetDataStatistics/getErrorData",
    method: "get",
    params: data,
  });
}

export function getAccessFlow(data) {
  return request({
    url: "/apisecurity/assetDataStatistics/getAccessFlow",
    method: "get",
    params: data,
  });
}

export function getInterfaceTrend(data) {
  return request({
    url: "/apisecurity/apiinterface/getInterfaceTrend",
    method: "get",
    params: data,
  });
}

export function getInterfaceStatic(data) {
  return request({
    url: "/apisecurity/apiinterface/getInterfaceStatic",
    method: "get",
    params: data,
  });
}

export function getInterfaceCount(data) {
  return request({
    url: "/apisecurity/apiinterface/getInterfaceCount",
    method: "get",
    params: data,
  });
}

export function getSensitiveApplication(data) {
  return request({
    url: "/apisecurity/assetDataStatistics/getSensitiveApplication",
    method: "get",
    params: data,
  });
}

export function dataTypeStatistics(data) {
  return request({
    url: "/apisecurity/assetDataStatistics/dataTypeStatistics",
    method: "get",
    params: data,
  });
}

export function getDesensitizationData(data) {
  return request({
    url: "/apisecurity/sensitiveStrategy/getDesensitizationData",
    method: "get",
    params: data,
  });
}

export function getAccessFlowTrue(data) {
  return request({
    url: "/apisecurity/assetDataStatistics/getAccessFlowTrue",
    method: "get",
    params: data,
  });
}

export function dataLevelStatisticsList(data) {
  return request({
    url: "/apisecurity/assetDataStatistics/dataLevelStatisticsList",
    method: "get",
    params: data,
  });
}
